package com.cjh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients
@EnableCircuitBreaker//声明启⽤数据监控
@EnableHystrixDashboard//声明启⽤可视化数据监控
public class HystrixApplication {
  public static void main(String[] args) {
    SpringApplication.run(HystrixApplication.class,args);
  }
}